package com.cskaoyan.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author rebaogu
 * @description
 * @date 2022.04.08 13:59
 * @package com.cskaoyan.bean.vo
 * @Classname CatAndBrandVO
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CatAndBrandVO {

    // 商品目录list
    private List<CategoryListDTO> categoryList;

    /**
     * 复用商品分类, 内部类
     * 品牌商list
     */
    private List<CategoryL1InnerIdAndName> brandList;


    // 一级目录
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class CategoryListDTO {
        private Integer value;
        private String label;
        // 二级目录
        private List<CategoryL1InnerIdAndName> children;
    }
}
